﻿// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/

namespace SupperTreeSample.Shared.Data;

public abstract class FoodNodeItem
{
    /// <summary>
    /// 获得/设置 菜品名称
    /// </summary>
    [NotNull]
    public string? Name { get; set; }

    /// <summary>
    /// 获得/设置 菜品是否收缩 默认 false
    /// </summary>
    public bool IsCollapsed { get; set; }
}
